import { StrictMode } from "react"
import { createRoot } from "react-dom/client"
import "./index.css"
import { RouterProvider } from "react-router"
import * as am4core from "@amcharts/amcharts4/core"
import am4themes_kelly from "@amcharts/amcharts4/themes/kelly"

import router from "./router.js"

am4core.useTheme(am4themes_kelly)

createRoot(document.getElementById("root")).render(
  <StrictMode>
    <RouterProvider router={router} />
  </StrictMode>
)
